<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>个人成绩</title>
<script type="text/javascript">
function fandeng() {
	window.location="login.jsp"
}	
function fanzhu() {
	window.location="main?method=stuMain"
}	
</script>
<style type="text/css">
 #wai{
	height:300px;
	width: 800px;
	left: 500px; 
	
	
}
	body {	
	 height: 700px;
 	 background-image: linear-gradient(49deg, #FFC0CB , #FFE4E1 60%);
}
.btn {
      position: absolute;
      transform: translate(700px, 0px);
      width: 115px;
      height: 45px;
      line-height: 15px;
      text-align: center;
      color: #fff;
      font-size: 15px;
      text-transform: uppercase;
      text-decoration: none;
      font-family: sans-serif;
      box-sizing: border-box;
      background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
      background-size: 400%;
      border-radius: 60px;
      z-index: 1;
    }
    
    .btn:hover {
      animation: animate 8s linear infinite;
    }
    
    @keyframes animate {
      0% {
        background-position: 0%;
      }
      100% {
        background-position: 400%;
      }
    } 
    .btn::before {
      content: '';
      position: absolute;
      top: -5px;
      left: -5px;
      right: -5px;
      bottom: -5px;
      z-index: -1;
      background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
      background-size: 400%;
      border-radius: 40px;
      opacity: 0;
      transition: 0.5s;
    }
    
    .btn:hover::before {
      filter: blur(20px);
      opacity: 1;
      animation: animate 8s linear infinite;
    }  
    .btn1 {
      position: absolute;
      transform: translate(700px, 50px);
      width: 115px;
      height: 45px;
      line-height: 15px;
      text-align: center;
      color: #fff;
      font-size: 15px;
      text-transform: uppercase;
      text-decoration: none;
      font-family: sans-serif;
      box-sizing: border-box;
      background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
      background-size: 400%;
      border-radius: 60px;
      z-index: 1;
    }
    
    .btn1:hover {
      animation: animate 8s linear infinite;
    }
    
    @keyframes animate {
      0% {
        background-position: 0%;
      }
      100% {
        background-position: 400%;
      }
    } 
    .btn1::before {
      content: '';
      position: absolute;
      top: -5px;
      left: -5px;
      right: -5px;
      bottom: -5px;
      z-index: -1;
      background: linear-gradient(90deg, #03a9f4, #f441a5, #ffeb3b, #03a9f4);
      background-size: 400%;
      border-radius: 40px;
      opacity: 0;
      transition: 0.5s;
    }
    
    .btn1:hover::before {
      filter: blur(20px);
      opacity: 1;
      animation: animate 8s linear infinite;
    }
    	table {
	margin: auto;
	border-collapse: collapse; <!--表格成单线-->
	}
</style>
</head>
<body>

<table>
<tr>
	<c:forEach items="${list}" var="g">
	<th><label>${g.course.name}:</label><span>${g.grade}</span></th><td>
	</c:forEach>
</tr>
</table>

	<button onclick="fandeng()" class="btn1">返回登录页面</button>
	<button onclick="fanzhu()" class="btn">返回主页面</button>

</body>
</html>